﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Drifting.MotionPlanning.Primitives
{
    public class GraphState : State
    {
        protected List<Edge> children;

        public GraphState(double[] q, double[] alias)
            : base(q, alias)
        {
            children = new List<Edge>();
        }

        public List<Edge> Children
        {
            get
            {
                if (children == null)
                    children = new List<Edge>();
                return children;
            }
        }
    }
}
